{% extends 'news/base.html' %}

{% block titleBlock %}
首页-新经资讯
{% endblock %}

{% block jsBlock %}
<script type="text/javascript" src="../../static/news/js/index.js"></script>
{% endblock %}

{% block categoryBlock %}
    {# 新闻分类数据获取 #}
    {% for category in data.category_list %}
        <li class="{% if loop.index0 == 0 %}active{% endif %}" data-cid="{{ category.id }}"><a href="javascript:;">{{ category.name }}</a></li>

    {% endfor %}
{% endblock %}

{% block contentBlock %}
    <ul class="list_con fl"></ul>>
{% endblock %}